<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>PowerVR SDK</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<table width="100%">
  <tr>
    <td width="33%">
      <p align="left">&nbsp;<a href="http://www.imgtec.com"><img border="0" src="IMGLogo.jpg" width="200" height="30"></a></p>
    </td>
    <td width="33%">
      <p align="center"><font color="#808080" face="Arial" size="2">PowerVR Software Development Kit</a></font></p>
    </td>
    <td width="34%">
      <p align="right"><a href="http://www.powervr.com"><img border="0" src="PVRlogo.jpg" width="200" height="27"></a></p>
    </td>
  </tr>
</table>
<hr>
</head><body>
<!-- Generated by Doxygen 1.3.6 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>PVRShellAPI.h</h1><a href="PVRShellAPI_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/******************************************************************************</span>
00002 <span class="comment"></span>
00003 <span class="comment"> @File         PVRShellAPI.h</span>
00004 <span class="comment"></span>
00005 <span class="comment"> @Title        Qt/PVRShellAPI</span>
00006 <span class="comment"></span>
00007 <span class="comment"> @Version      </span>
00008 <span class="comment"></span>
00009 <span class="comment"> @Copyright    Copyright (C)  Imagination Technologies Limited.</span>
00010 <span class="comment"></span>
00011 <span class="comment"> @Platform     Independent</span>
00012 <span class="comment"></span>
00013 <span class="comment"> @Description  Makes programming for 3D APIs easier by wrapping surface</span>
00014 <span class="comment">               initialization, Texture allocation and other functions for use by a demo.</span>
00015 <span class="comment"></span>
00016 <span class="comment">******************************************************************************/</span>
00017 
00018 <span class="preprocessor">#ifndef __PVRSHELLAPI_H_</span>
00019 <span class="preprocessor"></span><span class="preprocessor">#define __PVRSHELLAPI_H_</span>
00020 <span class="preprocessor"></span>
00021 <span class="comment">/****************************************************************************</span>
00022 <span class="comment">** 3D API header files</span>
00023 <span class="comment">****************************************************************************/</span>
00024 <span class="preprocessor">#include &lt;QGLWidget&gt;</span>
00025 
00026 <span class="keyword">class </span><a class="code" href="classPVRShell.html">PVRShell</a>;
00027 <span class="keyword">struct </span><a class="code" href="structPVRShellData.html">PVRShellData</a>;
00028 
00029 <span class="comment">/*!*************************************************************************</span>
00030 <span class="comment"> @Class PVRShellInitAPI</span>
00031 <span class="comment"> @Brief Initialisation interface with specific API.</span>
00032 <span class="comment">****************************************************************************/</span>
00033 <span class="keyword">class </span><a class="code" href="classPVRShellGLWidget.html">PVRShellGLWidget</a> : <span class="keyword">public</span> QGLWidget
00034 {
00035     Q_OBJECT
00036 <span class="keyword">public</span>:
<a name="l00037"></a><a class="code" href="classPVRShellGLWidget.html">00037</a>         <a class="code" href="classPVRShellGLWidget.html#a0">PVRShellGLWidget</a>(QWidget *parent, <a class="code" href="classPVRShell.html">PVRShell</a> * pShell, <span class="keyword">const</span> <a class="code" href="structPVRShellData.html">PVRShellData</a> * <span class="keyword">const</span> pData);
00038         <a class="code" href="classPVRShellGLWidget.html#a1">~PVRShellGLWidget</a>();
00039         <span class="keywordtype">void</span> <a class="code" href="classPVRShellGLWidget.html#a2">resizeGL</a>(<span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h);
00040         QSize <a class="code" href="classPVRShellGLWidget.html#a3">sizeHint</a>();
00041 
00042 <span class="keyword">protected</span>:
00043         <a class="code" href="classPVRShell.html">PVRShell</a> *<a class="code" href="classPVRShellGLWidget.html#p0">m_pShell</a>;
00044 };
00045 
00046 <span class="comment">/*!*************************************************************************</span>
<a name="l00047"></a><a class="code" href="classPVRShellGLWidget.html#p0">00047</a> <span class="comment"> @Class PVRShellInitAPI</span>
00048 <span class="comment"> @Brief Initialisation interface with specific API.</span>
00049 <span class="comment">****************************************************************************/</span>
00050 <span class="keyword">class </span><a class="code" href="classPVRShellInitAPI.html">PVRShellInitAPI</a>
00051 {
00052 <span class="keyword">public</span>:
00053         <a class="code" href="classPVRShellGLWidget.html">PVRShellGLWidget</a> *m_pGLWidget;
<a name="l00054"></a><a class="code" href="classPVRShellInitAPI.html">00054</a> };
00055 
00056 <span class="preprocessor">#endif // __PVRSHELLAPI_H_</span>
<a name="l00057"></a><a class="code" href="classPVRShellInitAPI.html#o0">00057</a> <span class="preprocessor"></span>
00058 <span class="comment">/*****************************************************************************</span>
00059 <span class="comment"> End of file (PVRShellAPI.h)</span>
00060 <span class="comment">*****************************************************************************/</span>
00061 
00062 
</pre></div><br>
<br>
<P align=left><FONT size=2><STRONG><A 
   href="http://www.imgtec.com/powervr/insider/legal/index.asp">Copyright</A> � 
   1999-2008, Imagination Technologies Ltd.</STRONG></FONT></P>
<hr>
<address style="align: left;"><small><FONT color=f0f>
Generated by <a href="http://www.doxygen.org/index.html">DOXYGEN</a> 1.3.6</small></address>
</body>
</html>
